package rmi.server;

import java.rmi.RemoteException;
import javax.rmi.PortableRemoteObject;
import rmi.Product;

public class ProductImpl extends PortableRemoteObject implements Product {

    private String description;

    public ProductImpl(String someText) throws RemoteException {
        description = someText;
    }

    public String getDescription() throws RemoteException {
        return description;
    }
}
